package com.examination.to.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.examination.to.entity.Exam;
import com.examination.to.entity.ExamRecord;

import java.util.List;

/**
 * author:FC
 * date:2020/5/14 20:00
 */
public interface ExamRecordMapper extends BaseMapper<ExamRecord> {

    ExamRecord findLast();

    ExamRecord rankData(Integer examid);

    void updateScore(ExamRecord examRecord);
}
